﻿using System;
using System.Data.Linq.Mapping;

namespace JDKD.BMCS.Model
{
        /// <summary>
        /// 表示监控区域数据模型
        /// </summary>
        /// <remarks>监控区域数据模型映射到数据库Camera表</remarks>
        [Table]
        public class AreaModel
        {
                #region 属性

                [Column(IsPrimaryKey = true)]
                public int CameraId { get; set; }

                [Column(IsPrimaryKey = true)]
                public Int32 SegmentId { get; set; }

                [Column]
                public int X { get; set; }

                [Column]
                public int Y { get; set; }

                #endregion 属性
        }
}